package com.hesicare.health.entity;

import java.util.Date;

public class SysPatientRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 患者id
     */
    private Long patientId;
    /**
     * 归属部门
     */
    private Long deptId;
    /**
     * 头像地址
     */
    private String avatar;
    /**
     * 登录账号
     */
    private String loginName;
    /**
     * 用户名
     */
    private String patientName;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 密码
     */
    private String password;
    /**
     * 出生日期
     */
    private Date birth;
    /**
     * 性别(0男 1女 2未知)
     */
    private String sex;
    /**
     * 住院号
     */
    private String hospitalizedNum;
    /**
     * 入院日期
     */
    private Date hospitalizedDate;
    /**
     * 入院日期
     */
    private Date leaveDate;
    /**
     * 住院状态(1 住院 2 出院)
     */
    private String hospitalizedType;
    /**
     * 腕带码
     */
    private String wristbandCode;
    /**
     * 床号
     */
    private String bedNum;
    /**
     * 住院医生编号
     */
    private Long doctorId;
    /**
     * 医生姓名
     */
    private String doctorName;
    /**
     * 住址
     */
    private String address;
    /**
     * 卡类型(1-身份证 2-医保卡 3-就诊卡)
     */
    private String cardType;
    /**
     * 身份证号
     */
    private String idCard;
    /**
     * 医保卡/就诊卡号
     */
    private String cardNum;
    /**
     * 状态(0-正常 1-禁用)
     */
    private String status;
    /**
     * 最后登陆IP
     */
    private String loginIp;
    /**
     * 最后登陆时间
     */
    private Date loginDate;

    private Date leaveTime;

    private Long targetDeptId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHospitalizedNum() {
        return hospitalizedNum;
    }

    public void setHospitalizedNum(String hospitalizedNum) {
        this.hospitalizedNum = hospitalizedNum;
    }

    public Date getHospitalizedDate() {
        return hospitalizedDate;
    }

    public void setHospitalizedDate(Date hospitalizedDate) {
        this.hospitalizedDate = hospitalizedDate;
    }

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getHospitalizedType() {
        return hospitalizedType;
    }

    public void setHospitalizedType(String hospitalizedType) {
        this.hospitalizedType = hospitalizedType;
    }

    public String getWristbandCode() {
        return wristbandCode;
    }

    public void setWristbandCode(String wristbandCode) {
        this.wristbandCode = wristbandCode;
    }

    public String getBedNum() {
        return bedNum;
    }

    public void setBedNum(String bedNum) {
        this.bedNum = bedNum;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }

    public Long getTargetDeptId() {
        return targetDeptId;
    }

    public void setTargetDeptId(Long targetDeptId) {
        this.targetDeptId = targetDeptId;
    }

    @Override
    public String toString() {
        return "SysPatientRecord{" +
                "id=" + id +
                ", patientId=" + patientId +
                ", deptId=" + deptId +
                ", avatar='" + avatar + '\'' +
                ", loginName='" + loginName + '\'' +
                ", patientName='" + patientName + '\'' +
                ", mobile='" + mobile + '\'' +
                ", password='" + password + '\'' +
                ", birth=" + birth +
                ", sex='" + sex + '\'' +
                ", hospitalizedNum='" + hospitalizedNum + '\'' +
                ", hospitalizedDate=" + hospitalizedDate +
                ", leaveDate=" + leaveDate +
                ", hospitalizedType='" + hospitalizedType + '\'' +
                ", wristbandCode='" + wristbandCode + '\'' +
                ", bedNum='" + bedNum + '\'' +
                ", doctorId=" + doctorId +
                ", doctorName='" + doctorName + '\'' +
                ", address='" + address + '\'' +
                ", cardType='" + cardType + '\'' +
                ", idCard='" + idCard + '\'' +
                ", cardNum='" + cardNum + '\'' +
                ", status='" + status + '\'' +
                ", loginIp='" + loginIp + '\'' +
                ", loginDate=" + loginDate +
                ", leaveTime=" + leaveTime +
                ", targetDeptId=" + targetDeptId +
                '}';
    }
}
